import React from 'react'
import { connect } from 'react-redux'
const ComB = (props) => {
  return (
    <div>
      {props.count}
    </div>
  )
}
const mapStateToProps=(state)=>{
    return state
}
// 接收方
export default connect(mapStateToProps)(ComB)
